import request from '@/utils/request'

// 获取主表字段
export function getTableAFileList(fkValue) {
  return request({
    url: `/api/example/DocumentConversionRules/getTableAFileList/`+fkValue,
    method: 'GET'
  })
}

// 获取子表表字段
export function getTableBFileList(fkValue) {
  return request({
    url: `/api/example/DocumentConversionRules/getTableBFileList/`+fkValue,
    method: 'GET'
  })
}

// 获取下游下拉主表
export function getTableCFileList(type) {
  return request({
    url: `/api/example/DocumentConversionRules/getTableCFileList/`+type,
    method: 'GET'
  })
}

// 获取下游下游子表
export function getTableDFileList(type) {
  return request({
    url: `/api/example/DocumentConversionRules/getTableDFileList/`+type,
    method: 'GET'
  })
}

export function updateData(data) {
  return request({
    url: `/api/example/DocumentConversionRules/updateData`,
    method: 'POST',
    data:data
  })
}

